3.1.18 \(\int \frac {(b x+c x^2)^{3/2}}{x^4} \, dx\) [18]

Optimal. Leaf size=68 \[ -\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right ) \]

[Out]

-2/3*(c*x^2+b*x)^(3/2)/x^3+2*c^(3/2)*arctanh(x*c^(1/2)/(c*x^2+b*x)^(1/2))-2*c*(c*x^2+b*x)^(1/2)/x

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {676, 634, 212} \begin {gather*} 2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b*x + c*x^2)^(3/2)/x^4,x]

[Out]

(-2*c*Sqrt[b*x + c*x^2])/x - (2*(b*x + c*x^2)^(3/2))/(3*x^3) + 2*c^(3/2)*ArcTanh[(Sqrt[c]*x)/Sqrt[b*x + c*x^2]
]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 634

Int[1/Sqrt[(b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[2, Subst[Int[1/(1 - c*x^2), x], x, x/Sqrt[b*x + c*x^2
]], x] /; FreeQ[{b, c}, x]

Rule 676

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d + e*x)^(m + 1)*((
a + b*x + c*x^2)^p/(e*(m + p + 1))), x] - Dist[c*(p/(e^2*(m + p + 1))), Int[(d + e*x)^(m + 2)*(a + b*x + c*x^2
)^(p - 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] && GtQ[
p, 0] && (LtQ[m, -2] || EqQ[m + 2*p + 1, 0]) && NeQ[m + p + 1, 0] && IntegerQ[2*p]

Rubi steps

\begin {align*} \int \frac {\left (b x+c x^2\right )^{3/2}}{x^4} \, dx &=-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+c \int \frac {\sqrt {b x+c x^2}}{x^2} \, dx\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+c^2 \int \frac {1}{\sqrt {b x+c x^2}} \, dx\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+\left (2 c^2\right ) \text {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )\\ &=-\frac {2 c \sqrt {b x+c x^2}}{x}-\frac {2 \left (b x+c x^2\right )^{3/2}}{3 x^3}+2 c^{3/2} \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.10, size = 79, normalized size = 1.16 \begin {gather*} -\frac {2 \sqrt {x (b+c x)} \left (\sqrt {b+c x} (b+4 c x)+3 c^{3/2} x^{3/2} \log \left (-\sqrt {c} \sqrt {x}+\sqrt {b+c x}\right )\right )}{3 x^2 \sqrt {b+c x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b*x + c*x^2)^(3/2)/x^4,x]

[Out]

(-2*Sqrt[x*(b + c*x)]*(Sqrt[b + c*x]*(b + 4*c*x) + 3*c^(3/2)*x^(3/2)*Log[-(Sqrt[c]*Sqrt[x]) + Sqrt[b + c*x]]))
/(3*x^2*Sqrt[b + c*x])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(150\) vs. \(2(56)=112\).
time = 0.41, size = 151, normalized size = 2.22

method result size
risch \(-\frac {2 \left (c x +b \right ) \left (4 c x +b \right )}{3 x \sqrt {x \left (c x +b \right )}}+c^{\frac {3}{2}} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )\) \(55\)
default \(-\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{3 b \,x^{4}}+\frac {2 c \left (-\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{b \,x^{3}}+\frac {4 c \left (\frac {2 \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{b \,x^{2}}-\frac {6 c \left (\frac {\left (c \,x^{2}+b x \right )^{\frac {3}{2}}}{3}+\frac {b \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x}}{4 c}-\frac {b^{2} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{8 c^{\frac {3}{2}}}\right )}{2}\right )}{b}\right )}{b}\right )}{3 b}\) \(151\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+b*x)^(3/2)/x^4,x,method=_RETURNVERBOSE)

[Out]

-2/3/b/x^4*(c*x^2+b*x)^(5/2)+2/3*c/b*(-2/b/x^3*(c*x^2+b*x)^(5/2)+4*c/b*(2/b/x^2*(c*x^2+b*x)^(5/2)-6*c/b*(1/3*(
c*x^2+b*x)^(3/2)+1/2*b*(1/4*(2*c*x+b)*(c*x^2+b*x)^(1/2)/c-1/8*b^2/c^(3/2)*ln((1/2*b+c*x)/c^(1/2)+(c*x^2+b*x)^(
1/2))))))

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 78, normalized size = 1.15 \begin {gather*} c^{\frac {3}{2}} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - \frac {7 \, \sqrt {c x^{2} + b x} c}{3 \, x} - \frac {\sqrt {c x^{2} + b x} b}{3 \, x^{2}} - \frac {{\left (c x^{2} + b x\right )}^{\frac {3}{2}}}{3 \, x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)^(3/2)/x^4,x, algorithm="maxima")

[Out]

c^(3/2)*log(2*c*x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c)) - 7/3*sqrt(c*x^2 + b*x)*c/x - 1/3*sqrt(c*x^2 + b*x)*b/x^2
 - 1/3*(c*x^2 + b*x)^(3/2)/x^3

________________________________________________________________________________________

Fricas [A]
time = 2.38, size = 116, normalized size = 1.71 \begin {gather*} \left [\frac {3 \, c^{\frac {3}{2}} x^{2} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) - 2 \, \sqrt {c x^{2} + b x} {\left (4 \, c x + b\right )}}{3 \, x^{2}}, -\frac {2 \, {\left (3 \, \sqrt {-c} c x^{2} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) + \sqrt {c x^{2} + b x} {\left (4 \, c x + b\right )}\right )}}{3 \, x^{2}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)^(3/2)/x^4,x, algorithm="fricas")

[Out]

[1/3*(3*c^(3/2)*x^2*log(2*c*x + b + 2*sqrt(c*x^2 + b*x)*sqrt(c)) - 2*sqrt(c*x^2 + b*x)*(4*c*x + b))/x^2, -2/3*
(3*sqrt(-c)*c*x^2*arctan(sqrt(c*x^2 + b*x)*sqrt(-c)/(c*x)) + sqrt(c*x^2 + b*x)*(4*c*x + b))/x^2]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x \left (b + c x\right )\right )^{\frac {3}{2}}}{x^{4}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+b*x)**(3/2)/x**4,x)

[Out]

Integral((x*(b + c*x))**(3/2)/x**4, x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 115 vs. \(2 (56) = 112\).
time = 1.07, size = 115, normalized size = 1.69 \begin {gather*} -c^{\frac {3}{2}} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right ) + \frac {2 \, {\left (6 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{2} b c + 3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} b^{2} \sqrt {c} + b^{3}\right )}}{3 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )}^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+b*x)^(3/2)/x^4,x, algorithm="giac")

[Out]

-c^(3/2)*log(abs(-2*(sqrt(c)*x - sqrt(c*x^2 + b*x))*sqrt(c) - b)) + 2/3*(6*(sqrt(c)*x - sqrt(c*x^2 + b*x))^2*b
*c + 3*(sqrt(c)*x - sqrt(c*x^2 + b*x))*b^2*sqrt(c) + b^3)/(sqrt(c)*x - sqrt(c*x^2 + b*x))^3

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,x^2+b\,x\right )}^{3/2}}{x^4} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x + c*x^2)^(3/2)/x^4,x)

[Out]

int((b*x + c*x^2)^(3/2)/x^4, x)

________________________________________________________________________________________